package com.cangzhou.cvoa.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

@Configuration
@EnableSwagger2WebMvc
public class SwaggerConfig {
    @Bean
    public Docket defaultApi(){
        return SwaggerCore.defaultDocketBuilder("默认","com.zeroone.star","default");
    }
}